package com.tc.infinitechat.authenticationservice.service;

import com.tc.infinitechat.authenticationservice.data.user.login.LoginRequest;
import com.tc.infinitechat.authenticationservice.data.user.login.LoginResponse;
import com.tc.infinitechat.authenticationservice.data.user.logincode.LoginCodeRequest;
import com.tc.infinitechat.authenticationservice.data.user.logincode.LoginCodeResponse;
import com.tc.infinitechat.authenticationservice.data.user.register.RegisterRequest;
import com.tc.infinitechat.authenticationservice.data.user.register.RegisterResponse;
import com.tc.infinitechat.authenticationservice.data.user.update.UpdateAvatarRequest;
import com.tc.infinitechat.authenticationservice.data.user.update.UpdateAvatarResponse;
import com.tc.infinitechat.authenticationservice.model.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface UserService extends IService<User> {
    RegisterResponse register(RegisterRequest request);

    LoginResponse login(LoginRequest request);
    LoginCodeResponse loginCode(LoginCodeRequest request);

    UpdateAvatarResponse updateAvatar(String id, UpdateAvatarRequest request);
}
